package com.gylang.commons.api.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 统一list 返回结果
 *
 * @author gylang,
 * date 2020/4/16,
 * @version 1.0
 */

@Data
@NoArgsConstructor
public class ListResultVO<T>  {



    private String code;
    private String msg;
    private List<T> data;

    public ListResultVO(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
